Pod::Spec.new do |s|
  s.name             = 'leek-weixin'
  s.version          = '3.8.9'
  s.summary          = 'A short description of leek-weixin.'
  s.description      = '微信SDK封装#包含支付'
  s.homepage         = 'https://github.com/懒虫/leek-weixin'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '懒虫' => '11534516+lanchc@users.noreply.github.com' }
  s.source           = { :git => 'https://github.com/懒虫/leek-weixin.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'

  s.source_files = 'leek-weixin/Classes/**/*','OpenSDK2_0_4/**/*.{h,m}'

   s.ios.vendored_libraries = 'OpenSDK2_0_4/**/*.{a}'
  
  # s.resource_bundles = {
  #   'leek-weixin' => ['leek-weixin/Assets/*.png']
  # }

  ## 手动集成 ------------------ begin
  # 引入系统framework
  s.frameworks = "Security", "CoreGraphics", "WebKit"
  # 引入系统库 lib
  s.libraries = "z", "sqlite3.0", "c++"
  # 添加给编译器配置
  s.pod_target_xcconfig =   {'OTHER_LDFLAGS' => ['-Objc','-all_load']}

  ## 手动集成 ------------------ end

  # 二次封装&静态库
#  s.static_framework = true

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
#  s.dependency 'WechatOpenSDK', '1.8.7.1'
  # s.dependency 'WechatOpenSDK', '1.9.2'
  
  
end
